package com.bjpowernode.custom_annotation;

import org.springframework.stereotype.Component;

@Component
public class SomeServiceImpl implements SomeService {
	
	@Override
	public void doSome() {
		System.out.println("执行了业务方法doSome()");

	}

	@Override
	@CustomAnnotation
	public void createCar() {
		System.out.println("A car is created");
		
	}

	@Override
	@CustomAnnotation
	public void createUser() {
		System.out.println("An user is created");
		
	}

	public void createSth(String something) {
		System.out.println("自定义的参数为: " + something);
		
	}

	@Override
	public void createSomething(String something) {
		// TODO Auto-generated method stub
		
	}

}
